Motion.GetAxisVelocity method

Gets the current velocity from an axis. The velocity can be set velocity or actual velocity.

Namespace: IntervalZero.KINGSTAR.Local.Api

Assembly: IntervalZero.KINGSTAR.Local.Api (in IntervalZero.KINGSTAR.Local.dll) Version: 4.4.0.0

Syntax

C#VB
public KsReturn<double> GetAxisVelocity(
       int Index,
       McSource Source
)
Public Function GetAxisVelocity(
       Index As Integer,
       Source As McSource
) As KsReturn(Of Double)

Parameters

Index

Type: int

The index of an axis. Indexes are zero based. Aliases affect this parameter.

 

Source

Type: McSource

Selects a velocity value to read.

Return value

Type: KsReturn<double>

Returns a KsError code and a double value.

Examples

C#
N/A

See also

Motion Class

IntervalZero.KINGSTAR.Local.Api Namespace